<%@ page language="java" contentType="application/xhtml+xml; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="u" tagdir="/WEB-INF/tags" %>
<jsp:include page="/WEB-INF/jsp/xhtml-header.jsp"/>
<head>
<title>Tabix: <c:out value="${build.label}" escapeXml="true"/></title>
<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/static/style/style.css"/>
</head>
<body>
<div>
<h1><c:out value="${build.label}" escapeXml="true"/></h1>
<p><c:out value="${build.description}" escapeXml="true"/></p>

<form action="#" method="POST">
<div style='text-align:center;font-size:200%; margin:50px;'>
	<label for='query'>Position: </label>
	<input type='text' name='q' value='' id='query' style='padding:10px;font-size:100%;' title='position' placeholder='chrom:start-end' required='true'/>
	<select name='format' class="bigsubmit">
		<option>xml</option>
		<option>html</option>
		<option>txt</option>
		<option>json</option>
		<option>svg</option>
	</select>
	<input type='submit' name="what" value="Annotations" class="bigsubmit"/>
	<input type='submit' name="what" value="Sequence"  class="bigsubmit"/>
</div>
<div>
	<h3>Options:</h3>
	<dl>	
		<dt><label for='limitrows'>Limit:</label></dt>
		<dd><input type='number' id='limitrows' name='limit' value='' min='1' placeholder="stop after 'N' rows"/></dd>

	
		<dt><label for='justcount'>Count</label></dt>
		<dd><input type='checkbox' id='justcount' value='yes'  name='count'/></dd>
		
		<dt><label for='gzip'>Compress (gzip) result:</label></dt>
		<dd><input type='checkbox' id='gzip' value='yes'  name='gzip' /></dd>
		
		
		
	</dl>
</div>
<h2>Instances</h2>
<u:section menu="${build}"/>	

</form>
<a href="${pageContext.request.contextPath}/build/${build.id}.xsd">xsd</a>
<a href="${pageContext.request.contextPath}/build/${build.id}.wsdl">wsdl</a>
</div>
</body>
</html>
